package com.blog.Bard.base.service;

import java.util.List;
import java.util.Map;

import com.blog.Bard.base.pojo.BardDict;
import com.blog.Bard.common.service.BaseService;
import com.blog.Bard.common.util.Pager;

public interface BardDictService extends BaseService{
	
	/**
	 * 查询所有字典内容
	 * @return
	 * @throws Exception
	 */
	List<BardDict> findAll() throws Exception;
	
	/**
	 * 字典列表分页接口
	 * @param params
	 * @return
	 * @throws Exception
	 */
	Pager pageList(Map<String,Object> params) throws Exception;
	
	/**
	 * 保存字典
	 * @param t
	 * @throws Exception
	 */
	void save(BardDict t) throws Exception;
	
	/**
	 * 查找字段
	 * @param id
	 * @return
	 * @throws Exception
	 */
	BardDict getOne(Integer id) throws Exception;
	
	/**
	 * 删除
	 * @param id
	 * @throws Exception
	 */
	void del(Integer id) throws Exception;

}
